class MapEvent {
    constructor() {
        this.eventType = "mouse";//绘图画布动作类型
        this.eventKind = "EditTextOnMap";//绘图控件返回给应用层的事件类型
        this.gid = 0;//图形ID
        this.uuid = "";//一次图设备资源ID

        this.wx = 0;//系统世界坐标，右手坐标系
        this.wy = 0;
        this.scaling = 1; //当前缩放比例

        this.scrnx = 0;//屏幕坐标,相对于显示器屏幕左上角（0，0）
        this.scrny = 0;

        this.wndx = 0;//窗口坐标,相对于画布所在QWidget的左上角（0，0）
        this.wndy = 0;

        this.controlDown = false;//ctrl键按下
        this.shiftDown = false;//shift键按下
        this.altDown = false; //alt键按下
        this.state = 0; //设备状态值

        this.leftButtonDown = false;//左键按下
        this.leftButtonUp = false;//左键弹起
        this.rightButtonDown = false;//右键按下
        this.rightButtonUp = false;//右键弹起
        this.xlink = "";//链接图形的UUID
        this.textContent = "";//文本内容
        this.layerName = ""; //所属逻辑图层名称

        //如果选中图形，则下面表示图形包围盒所在屏幕坐标
        this.scope_left_wnd = 0;
        this.scope_top_wnd = 0;
        this.scope_right_wnd = 0;
        this.scope_bottom_wnd = 0;

        this.scope_left_world  = 0;
        this.scope_top_world  = 0;
        this.scope_right_world  = 0;
        this.scope_bottom_world = 0;
        this.lock = false;//是否被锁定
        this.drawTool = 0;
        this.mouseDownTime = 0;
        this.finishNow = false;
        this.subEditMode = "normal";
        this.subEditModeState = "";
        this.selMultiGraphFlag = false;
        this.type = 0;//当前选中的图形类型
    }
}
export default{MapEvent}